package org.springblade.modules.admin.vo.rescue;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springblade.modules.admin.entity.MaintainMalfunctionHistory;
import org.springblade.modules.admin.entity.MaintainMalfunctionRescue;

import java.util.Date;
import java.util.List;

/**
 * @author zcc
 * @version 1.0
 * @date 2023/2/27 11:28
 */
@Data
@ApiModel("救援工单详情model")
public class RescuePlanDetail {

	@ApiModelProperty("报警信息")
	private RescueUserInfoVo rescueUserInfoVo;

	@ApiModelProperty("电梯信息")
	private RescueElevatorInfoVo rescueElevatorInfo;

	@ApiModelProperty("救援进度=工单状态")
	private Integer status;

	@ApiModelProperty("救援人员=维保人员")
	private List<UserInfoVo> maintainUsers;

	@ApiModelProperty("救援记录")
	private MaintainMalfunctionRescue maintainMalfunctionRescue;

	@ApiModelProperty("检修记录")
	private List<MaintainMalfunctionHistory> maintainMalfunctionHistorys;

	@ApiModelProperty("相关工单")
	private List<PlanChildInfoVo> planChildInfos;

	@ApiModelProperty("进度时间")
	private Date planTime;
}
